/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package DTO;

/**
 *
 * @author Miguel
 */
public class TodasLasGarantiasDTO {
    private garantiaHipotecariaDTO garHipo;
    private garantiaAutomotrizDTO garAuto;
    private garantiaWarrantsDTO garWarra;
    private garantiaCdpOtrosDTO garCDP;

    public TodasLasGarantiasDTO(garantiaHipotecariaDTO garHipo, garantiaAutomotrizDTO garAuto, garantiaWarrantsDTO garWarra, garantiaCdpOtrosDTO garCDP) {
        this.garHipo = garHipo;
        this.garAuto = garAuto;
        this.garWarra = garWarra;
        this.garCDP = garCDP;
    }
    
    public TodasLasGarantiasDTO() {
        this.garHipo = new garantiaHipotecariaDTO();
        this.garAuto = new garantiaAutomotrizDTO();
        this.garWarra = new garantiaWarrantsDTO();
        this.garCDP = new garantiaCdpOtrosDTO();
    }

    public garantiaHipotecariaDTO getGarHipo() {
        return garHipo;
    }

    public void setGarHipo(garantiaHipotecariaDTO garHipo) {
        this.garHipo = garHipo;
    }

    public garantiaAutomotrizDTO getGarAuto() {
        return garAuto;
    }

    public void setGarAuto(garantiaAutomotrizDTO garAuto) {
        this.garAuto = garAuto;
    }

    public garantiaWarrantsDTO getGarWarra() {
        return garWarra;
    }

    public void setGarWarra(garantiaWarrantsDTO garWarra) {
        this.garWarra = garWarra;
    }

    public garantiaCdpOtrosDTO getGarCDP() {
        return garCDP;
    }

    public void setGarCDP(garantiaCdpOtrosDTO garCDP) {
        this.garCDP = garCDP;
    }

    @Override
    public String toString() {
        return "TodasLasGarantiasDTO{" + "garHipo=" + garHipo + ", garAuto=" + garAuto + ", garWarra=" + garWarra + ", garCDP=" + garCDP + '}';
    }
}
